home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr53 / pctv4n_1.zip / XQLFUNCS.H < prev    next >
Text File  |  1993-06-11  |  892b  |  46 lines

  1. /**************************************************
  2. *
  3. * FILE NAME:  xqlfuncs.h  TITLE:  SQL API functions
  4. *
  5. * AUTHOR:       Ken North
  6. *
  7. * SYNOPSIS: 
  8. *
  9. *   Database Application Programming Interface (API)
  10. *    function prototypes
  11. *    
  12. ***************************************************/
  13.  
  14. #ifndef __XQLFUNCS_H
  15. #define __XQLFUNCS_H
  16.  
  17. #ifndef __DBTYPES_H
  18. #include "dbtypes.h"
  19. #endif
  20.  
  21. #ifndef __REQUEST_H
  22. #include "request.h"
  23. #endif
  24.  
  25.  
  26.                 /* generic functions */
  27. int dbClose ( void );
  28. int dbConnect( CONNECTION );
  29. int dbDisconnect( void );
  30. int dbFetch (VIEWINFO, REQUEST, char *);
  31. int dbGetData (VIEWINFO, char *, REQUEST);
  32. int dbDescribe( int, struct ColumnDesc *, REQUEST );
  33. int dbRequest( REQUEST );
  34. int dbPutData();
  35.  
  36.             /* implementation specific     */
  37. char *DecodeXQLDataType(int);
  38.  
  39.             /* debugging only            */
  40. #ifdef DEBUG
  41. void pause(void);
  42. #endif
  43.  
  44. #endif
  45.  
  46.